const basrUrl = 'https://www.uinav.com'

export default requset = function (method, url, data, callBack) {
  uni.request({
    url: basrUrl + url,
    method,
    data,
    success:function (data) {
      callBack && callBack(data)
    },
    fail: function (data) {
     callBack && callBack(data)
    }
  })
}